import { configureStore } from "@reduxjs/toolkit";
import theme from "./modules/themeSlice.js";
import hall from './modules/hallSlice.js'
import playlistDetail from './modules/playlistDetailSlice'
import player from './modules/playerSlice'
import mv from './modules/mvSlice'
import search from "./modules/searchSlice.js";
import songsheet from './modules/songSheetSlice.js'
import anking from './modules/anking.js'
import singer from './modules/singerSlice.js'
// 创建仓库
const store = configureStore({
    // 导入相应模块的reducer
    reducer:{
        theme,
        hall,
        playlistDetail,
        player,
        mv,
        search,
        songsheet,
        anking,
        singer
    }
})
export default store